﻿#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define _USE_MATH_DEFINES
#include<math.h>
//M_PI M_E

void main(int argc, char* argv[]) {
#define N 2
#define Y(n) N+n
	int z = 2 * Y(5);//2*2+5
	printf("z=%d\n", z);//z=9,宏定义是直接粘贴到调用处
	int a = 3, b = 4;
	a *= b + 1;//a=a*(b+1)
	printf("a=%d\n", a);//a=15,复合赋值运算符是先把右边算完再加减乘除
}